package B01Test;

import java.util.Arrays;

public class B01Jsp_test2 {
	private int su1 = 0;
	private int su2 = 0;
	
	private String [] hobby;
	
	public int getSu1() {
		return su1;
	}
	public void setSu1(int su1) {
		this.su1 = su1;
	}
	public int getSu2() {
		return su2;
	}
	public void setSu2(int su2) {
		this.su2 = su2;
	}
	
	
	public String[] getHobby() {
		return hobby;
	}
	public void setHobby(String[] hobby) {
		this.hobby = hobby;
	}
	
	public String output(){
		String str = "";
		for(int a = su1; a<=su2; a++){
			str += a + " ";
		}
		return str;
	}
	
	public String output2(){
		return Arrays.toString(hobby);
	}
	
}